home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / asmutil / asm_n_z.zip / PCMAP.DOC < prev    next >
Text File  |  1989-04-22  |  3KB  |  55 lines

  1. PCMAP - Version 2.0 - Jeff Hasty - April, 1989
  2.  
  3. This program displays a map of the currently allocated memory blocks.  For each
  4. block, the following information is displayed:
  5.  
  6.     Segment address of block
  7.     Segment address of block's owner (program which allocated the block)
  8.     Size of block in paragraphs (paragraph = 16 bytes)
  9.     Type of block:  PSP     - Program segment prefix and main program code
  10.             ENV    - A copy of the DOS environment 
  11.             (blank) - Other 
  12.     Name of owner of block (DOS 3.0 and later)
  13.  
  14. Syntax:  PCMAP [/R]
  15.  
  16. The /R switch causes the program to install itself (remain resident in memory).
  17. Pressing ALT-P will then display the memory map.  The current display screen
  18. is preserved.  However, if a previously installed copy is resident, running 
  19. PCMAP with the /R switch will instead uninstall that copy.  If uninstallation 
  20. is not possible (usually because of other subsequently installed programs), it 
  21. will inactivate the ALT-P hotkey.  Running the program again with the /R switch 
  22. will reactivate the hotkey.
  23.  
  24. The maximum number of blocks is 23, to prevent scrolling off the screen.  
  25. This may be increased by changing the equate at the beginning of the source
  26. code.  The hotkey may also be changed in the same way.
  27.  
  28. CONFLICTS:
  29. Although having PCMAP resident doesn't affect most applications, there are
  30. some significant exceptions.  Programs COMPILED with Turbo Pascal, versions
  31. 4 or 5, will HANG if PCMAP is resident, requiring a cold boot.    You can run
  32. Turbo Pascal itself without problems.  Turbo assembler works fine.  I don't 
  33. have access to Turbo C, so I don't know about it.  Trying to run Tapcis or
  34. Tetris will also HANG your computer.  If anyone encounters other conflicts,
  35. I would appreciate a note about it through CompuServe, 71121,2352.
  36.  
  37. CREDITS:
  38. Many of the ideas and techniques, as well as much of the code, used in this
  39. program came from the following articles in PC Magazine:
  40.  
  41.     Robert L Hummel's PCMAP, V6N14, p.419, 8/87.  This is the original
  42.     PCMAP, the inspiration for my version.
  43.     Frank Deaver and David Thomas' RAMVIEW, V7N14, p.367, 8/88.  The
  44.     memory residency portions of RAMVIEW were slightly modified and used
  45.     for PCMAP.
  46.     Ray Duncan's ARGV, V6N22, p.365, 12/22/87.  A stripped-down version
  47.     of this routine is used for detection of the command line switch.
  48.  
  49. BUGS, SUGGESTIONS:
  50. Bug reports, suggestions for improvements, conflicts with specific hardware
  51. or software can be sent to me via CompuServe 71121,2352.  I am particularly
  52. interested in solving the problem with Turbo Pascal-compiled programs.    The
  53. same problem has been reported with RAMVIEW.  If you have any insights, please
  54. let me know.
  55.